﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            if (Request.QueryString.Count > 0)
            {
                int id = int.Parse(Request.QueryString[0].ToString());
                HyperLink7.CssClass=HyperLink8.CssClass=HyperLink9.CssClass=HyperLink10.CssClass = "link";
                switch (id)
                {
                    case 1:
                        lbMessage.Text = "Employee Profile";
                        HyperLink7.CssClass = "linkclick";
                        break;

                    case 2:
                        lbMessage.Text = "Employee Growth";
                        HyperLink8.CssClass = "linkclick";
                        break;

                    case 3:
                        lbMessage.Text = "Employee Nomination";
                        HyperLink9.CssClass = "linkclick";
                        break;

                    case 4:
                        lbMessage.Text = "Employment Report";
                        HyperLink10.CssClass = "linkclick";
                        break;

                    default:
                        break;
                }
            }
        }
    }
}